aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-08-23 11:48:42 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-08-23 11:48:57 +0200
commit9e4c8ae10c1152a937779599e16ead1ccfdd05f5 (patch)
tree7dab7c54a96ebc3f93fd1b88ad268b18c2fe6c25
parentadd docs/api.md (diff)
downloadcgitize-9e4c8ae10c1152a937779599e16ead1ccfdd05f5.tar.gz
cgitize-9e4c8ae10c1152a937779599e16ead1ccfdd05f5.zip
remove journald from docker-compose.yml
This makes the docker-compose file less opinionated and more generic.
Diffstat (limited to '')
-rw-r--r--docker-compose.yml12
1 files changed, 3 insertions, 9 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index c8bf37f..70de7e0 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,14 +1,7 @@
-version: '3.4'
-
-x-default-settings:
- &default-settings
- logging:
- driver: journald
- restart: unless-stopped
+version: '3'
services:
cgitize:
- << : *default-settings
build:
context: .
dockerfile: docker/Dockerfile
@@ -16,16 +9,17 @@ services:
# Every 3 hours:
SCHEDULE: '0 */3 * * *'
image: egortensin/cgitize:latest
+ restart: unless-stopped
volumes:
- ./examples/docker:/etc/cgitize:ro
- repositories:/mnt/cgitize
frontend:
- << : *default-settings
build:
context: ./docker/frontend
image: egortensin/cgitize-frontend:latest
ports:
- '127.0.0.1:80:80'
+ restart: unless-stopped
volumes:
- repositories:/mnt/cgitize:ro