diff --git a/compose.yaml b/compose.yaml index 5d12d48..f026a38 100644 --- a/compose.yaml +++ b/compose.yaml @@ -1,15 +1,29 @@ services: postgres-database: - image: 'postgres:latest' + image: 'postgres:15' container_name: postgres-database environment: - - 'POSTGRES_DB=acm' - - 'POSTGRES_PASSWORD=acmheads' - - 'POSTGRES_USER=acmsecy' + - POSTGRES_DB=acm + - POSTGRES_USER=acmsecy + - POSTGRES_PASSWORD=acmheads ports: - - '5432:5432' + - "5432:5432" volumes: - - db-data:/var/lib/backup/data + - db-data:/var/lib/postgresql/data + + backend: + image: pecacm/acm-website:1.1.12 + container_name: acm-backend + environment: + - POSTGRESQL_DB_URL=jdbc:postgresql://postgres-database:5432/acm + - POSTGRESQL_DB_USER=acmsecy + - POSTGRESQL_DB_PASSWORD=acmheads + - SMTP_EMAIL=youremail@gmail.com + - SMTP_PASSWORD=yourpassword + ports: + - "8080:8080" + depends_on: + - postgres-database volumes: - db-data: \ No newline at end of file + db-data: diff --git a/target/backend-1.0.1.jar b/target/backend-1.0.1.jar index 66d8948..fcf5e75 100644 Binary files a/target/backend-1.0.1.jar and b/target/backend-1.0.1.jar differ diff --git a/target/backend-1.0.1.jar.original b/target/backend-1.0.1.jar.original index fcf133d..0862c02 100644 Binary files a/target/backend-1.0.1.jar.original and b/target/backend-1.0.1.jar.original differ