make initial changes to fqdn and docker
This commit is contained in:
@@ -4,29 +4,23 @@ services:
|
||||
context: backend
|
||||
dockerfile: Dockerfile
|
||||
restart: always
|
||||
ports:
|
||||
- "2027:5000"
|
||||
container_name: "${BACKEND_CT_NAME:-nyi-backend}"
|
||||
container_name: "${BACKEND_CT_NAME:-juhannus-invitation-backend}"
|
||||
depends_on:
|
||||
- db # Ensure backend waits for db to start
|
||||
db:
|
||||
image: mysql:9.4.0
|
||||
container_name: nyi-db
|
||||
ports:
|
||||
- "${DB_SERVER}:${DB_PORT}:3306"
|
||||
container_name: juhannus-invitation-db
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=${ROOT_PWD}
|
||||
- MYSQL_DATABASE=${DB_NAME}
|
||||
volumes:
|
||||
- nyi_db_volume:/var/lib/mysql
|
||||
- invitation_db_volume:/var/lib/mysql
|
||||
frontend:
|
||||
build:
|
||||
context: frontend
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "2028:80"
|
||||
container_name: "${FRONTEND_CT_NAME:-nyi-frontend}"
|
||||
container_name: "${FRONTEND_CT_NAME:-juhannus-invitation-frontend}"
|
||||
depends_on:
|
||||
- backend # Ensure fronetnd waits for backend to start
|
||||
volumes:
|
||||
nyi_db_volume:
|
||||
invitation_db_volume:
|
||||
|
||||
Reference in New Issue
Block a user