improve docker build

This commit is contained in:
Schneider Roland 2022-06-13 17:16:27 +02:00
parent 9761d8e6bf
commit cd98d69223

View File

@ -2,8 +2,7 @@ version: '3'
services:
cutlerweb:
image: rocho02.ddns.net/admin/cutlergyor:latest
container_name: web
image: rocho02.ddns.net/admin/cutlergyor:0.0.8
networks:
cutler_network:
ports:
@ -11,9 +10,9 @@ services:
- "42002:443"
volumes:
- cutler_letsencrypt:/etc/letsencrypt
# - cutler_photos:/var/www/html/cutler/frontend/web/uploads/profile
- cutler_photos:/var/www/html/cutler/frontend/web/uploads/profile
environment:
FITNESS_DB_HOST: cutler_db
FITNESS_DB_HOST: cutlerdb
FITNESS_DB_NAME: cutler_prod2
FITNESS_DB_PORT:
FITNESS_DB_USERNAME: cutler_prod
@ -25,7 +24,6 @@ services:
cutlerdb:
image: mariadb:10.1
container_name: db
networks:
cutler_network:
volumes:
@ -38,7 +36,6 @@ services:
MYSQL_PASSWORD: cutler_prod
cutlermail:
container_name: mail
image: reachfive/fake-smtp-server
networks:
cutler_network: