diff --git a/.local.env b/.local.env new file mode 100644 index 0000000..7f001ff --- /dev/null +++ b/.local.env @@ -0,0 +1,2 @@ +SPRING83_FQDN=spring83.example.com +SPRING83_CONTACT_ADDR=spring83@example.com diff --git a/docker-compose.yml b/docker-compose.yml index 1fd04ee..e5a54a9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,14 +6,8 @@ services: dockerfile: Dockerfile target: serve network_mode: "host" - environment: - - SPRING83_FQDN=${SPRING83_FQDN} - - SPRING83_CONTACT_ADDR=${SPRING83_CONTACT_ADDR} - volumes: &default-logs-bind - - type: bind - source: ${SPRING83_CONTENT_DIR_HOST:?"Must define SPRING83_CONTENT_DIR_HOST as the absolute path to logs on the host."} - target: /content + env_file: + - .local.env + volumes: + - ./content:/content -volumes: - content: - external: true