Skip to content

Commit

Permalink
test with httpd prod build
Browse files Browse the repository at this point in the history
  • Loading branch information
uncaught committed Jan 31, 2021
1 parent f012724 commit 971d3fa
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ services:
- 3030
labels:
- traefik.enable=true
- traefik.frontend.rule=Path:/api
- traefik.frontend.rule=PathPrefix:/api
- traefik.port=3030

client:
Expand All @@ -72,8 +72,18 @@ services:
- 3000
labels:
- traefik.enable=true
- traefik.frontend.rule=Path:/
- traefik.frontend.rule=PathPrefix:/
- traefik.port=3000

httpd:
image: httpd:2.4-alpine
restart: always
volumes:
- ./client/build:/usr/local/apache2/htdocs:ro
- ./build/httpd/httpd.conf:/usr/local/apache2/conf/httpd.conf:ro
labels:
- traefik.enable=true
- traefik.frontend.rule=PathPrefix:/

volumes:
dblib:

0 comments on commit 971d3fa

Please sign in to comment.