1
0
mirror of https://gitlab.com/bramw/baserow.git synced 2024-11-23 08:07:35 +00:00
bramw_baserow/deploy/nginx/no-caddy/docker-compose.override.nginx.yml
2022-07-05 13:45:31 +00:00

24 lines
626 B
YAML

version: "3.4"
# This compose file is for testing our example Nginx configuration locally specifically
# with the `docker-compose.no-caddy.yml` file in the root of the repo.
# To test this setup you can run:
# ```
# cp .env.testing .env
# docker-compose -f ../../../docker-compose.no-caddy.yml -f docker-compose.override.nginx.yml up
# ```
# To test you have to add `127.0.0.1 example.localhost` to your /etc/hosts.
services:
nginx:
image: nginx
ports:
- '80:80'
volumes:
- $PWD/nginx.conf:/etc/nginx/nginx.conf:ro
- media:/baserow/media
depends_on: [backend]
networks:
local: