mirror of
https://gitlab.com/bramw/baserow.git
synced 2024-11-23 08:07:35 +00:00
24 lines
626 B
YAML
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:
|