diff --git a/Aberwyn/Infrastructure/docker-compose.prod.yml b/Aberwyn/Infrastructure/docker-compose.prod.yml index d9acc43..0e24ec5 100644 --- a/Aberwyn/Infrastructure/docker-compose.prod.yml +++ b/Aberwyn/Infrastructure/docker-compose.prod.yml @@ -2,22 +2,22 @@ version: '3.8' services: aberwyn-app: - image: aberwyn:latest - build: - context: ../ - dockerfile: Dockerfile + image: 192.168.1.9:3000/tai/aberwyn/aberwyn:latest + container_name: aberwyn-app-prod ports: - "8080:80" environment: ASPNETCORE_ENVIRONMENT: Production + DB_HOST: aberwyn-mysql-prod DB_NAME: aberwyn_prod - + DB_USER: aberwyn + DB_PASSWORD: 3edc4RFV depends_on: - - mysql + - aberwyn-mysql-prod networks: - aberwyn-net - mysql: + aberwyn-mysql-prod: image: mysql:8 container_name: aberwyn-mysql-prod restart: always