Skip to content

Commit

Permalink
Remove backend services from docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
carlobeltrame committed Mar 18, 2022
1 parent b629df0 commit b263d8d
Showing 1 changed file with 0 additions and 46 deletions.
46 changes: 0 additions & 46 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,19 +91,6 @@ services:
- ./api/docker/caddy/Caddyfile:/etc/caddy/Caddyfile:ro
- ./api/public:/srv/api/public:ro

backend:
build: ./backend
container_name: 'ecamp3-backend'
depends_on:
- db
- docker-host
ports:
- '4001:4001'
user: ${USER_ID:-1000}
volumes:
- ./backend:/app:delegated
entrypoint: ./docker-setup.sh

print:
image: node:16.14.0@sha256:61b6cc81ecc3f94f614dca6bfdc5262d15a6618f7aabfbfc6f9f05c935ee753c
container_name: 'ecamp3-print'
Expand All @@ -124,30 +111,6 @@ services:
env_file:
- ./print/print.env

composer:
image: composer:2@sha256:c9a802f9407bd1f5a7940d55ff1e7b0c2ac267bf504743bd26bade795f831c58
container_name: 'ecamp3-composer'
restart: 'no'
command: bash -c "composer install --no-interaction --no-plugins --no-scripts --prefer-dist"
user: ${USER_ID:-1000}
volumes:
- ./backend:/app:delegated
- ./.cache/composer:/tmp/cache

db:
image: mysql:8.0.28@sha256:b17a66b49277a68066559416cf44a185cfee538d0e16b5624781019bc716c122
container_name: 'ecamp3-db'
environment:
- MYSQL_DATABASE=ecamp3dev
- MYSQL_ROOT_PASSWORD=will-be-randomized-and-output-on-the-console
- MYSQL_RANDOM_ROOT_PASSWORD=yes
- MYSQL_USER=ecamp3
- MYSQL_PASSWORD=ecamp3
ports:
- '3006:3306'
volumes:
- db-data:/var/lib/mysql

database:
image: postgres:14-alpine@sha256:126bcff3a868d6bc79fbd9588e276731fa634f7137dd447476662da9d655ddfc
environment:
Expand All @@ -164,14 +127,6 @@ services:
published: 5432
protocol: tcp

phpmyadmin:
image: phpmyadmin/phpmyadmin@sha256:1d3f6ec798a9faa201ada6678797f399202928e677dfccbb698ef0b511c798b0
container_name: 'ecamp3-phpmyadmin'
ports:
- '3002:80'
volumes:
- ./phpmyadmin/config.user.inc.php:/etc/phpmyadmin/config.user.inc.php

mail:
image: mailhog/mailhog@sha256:8d76a3d4ffa32a3661311944007a415332c4bb855657f4f6c57996405c009bea
container_name: 'ecamp3-mail'
Expand All @@ -192,5 +147,4 @@ services:
- '3010:3000'

volumes:
db-data: null
db-data-postgres: null

0 comments on commit b263d8d

Please sign in to comment.