diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-11-28 19:21:09 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-11-28 19:21:09 +0100 |
commit | 3866a1234f451b287781719fc6add4c111d1f768 (patch) | |
tree | 9ef5cf8b73f1b9753ebffcaf34768571a5fadb15 | |
parent | test: add -i option to set up devices only (diff) | |
download | wg-api-web-3866a1234f451b287781719fc6add4c111d1f768.tar.gz wg-api-web-3866a1234f451b287781719fc6add4c111d1f768.zip |
docker: make sure docker-compose.yml can be copied
Diffstat (limited to '')
-rw-r--r-- | docker-compose.override.yml | 6 | ||||
-rw-r--r-- | docker-compose.yml | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/docker-compose.override.yml b/docker-compose.override.yml new file mode 100644 index 0000000..007f91e --- /dev/null +++ b/docker-compose.override.yml @@ -0,0 +1,6 @@ +# I want docker-compose.yml to be copyable; and if the build settings is +# present, and somebody copies it and runs docker-compose up -d, it will +# complain that it can't build the image (which it stupid). +services: + web: + build: . diff --git a/docker-compose.yml b/docker-compose.yml index 6617db2..3396c44 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,7 +9,6 @@ x-default-settings: services: web: << : *default-settings - build: . depends_on: [api] image: egortensin/wg-api-web:latest ports: |