diff options
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 6d5f1c1..154d35f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,15 +1,11 @@ version: "3" services: - app: - build: - context: docker/php - volumes: - - "./:/var/www/html" - db: image: postgres restart: unless-stopped + ports: + - "5432:5432" environment: - "POSTGRES_DB=${DB_NAME}" - "POSTGRES_USER=${DB_USER}" @@ -17,6 +13,12 @@ services: volumes: - "db:/var/lib/postgresql/data" + app: + build: + context: docker/php + volumes: + - "./:/var/www/html" + web: build: context: docker/nginx @@ -25,6 +27,17 @@ services: volumes: - "./:/var/www/html" + # gemini: + # build: + # context: docker/php + # ports: + # - "1965:1965" + # environment: + # - "GEMINI_HOSTNAME=0.0.0.0" + # volumes: + # - "./:/var/www/html" + # command: "./bin/gemini.sh" + adminer: image: adminer ports: |