Skip to content

Commit

Permalink
Update docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigri44 authored Nov 12, 2024
1 parent f234fe9 commit fce8eb4
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions docker-compose-alpha.yml → docker-compose-branch.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
version: '3.2'

services:
php-api_symfony:
image: ${DOCKER_REGISTRY}/api-php:${DOCKER_BRANCH}
container_name: ${DOCKER_BRANCH}-api_php-symfony
build:
context: ./
ports:
- "9082:80"
networks:
- realt
- traefik-realt
Expand All @@ -16,15 +12,12 @@ services:
- ./logs/nginx:/var/log/nginx:cached
labels:
- "traefik.enable=true"
- "traefik.http.routers.api-php-${DOCKER_BRANCH}.rule=Host(`api.${DOCKER_BRANCH}.realt.community`)"
- "traefik.http.routers.api-php-${DOCKER_BRANCH}.entrypoints=websecure"
- "traefik.http.routers.api-php-${DOCKER_BRANCH}.rule=Host(`api.${DOCKER_BRANCH}.realtoken.community`)"
restart: always

php-api_db:
image: mysql:5.7
container_name: ${DOCKER_BRANCH}-api_php-db
ports:
- "3308:3306"
networks:
- realt
environment:
Expand Down

0 comments on commit fce8eb4

Please sign in to comment.