We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 228ef62 commit 9d3a895Copy full SHA for 9d3a895
1 file changed
config/deploy.yml
@@ -43,14 +43,18 @@ builder:
43
volumes:
44
- "/opt/docker/ubixar.com/App_Data:/app/App_Data"
45
46
-#accessories:
47
-# litestream:
48
-# roles: ["web"]
49
-# image: litestream/litestream
50
-# files: ["config/litestream.yml:/etc/litestream.yml"]
51
-# volumes: ["/opt/docker/MyApp/App_Data:/data"]
52
-# cmd: replicate
53
-# env:
54
-# secret:
55
-# - ACCESS_KEY_ID
56
-# - SECRET_ACCESS_KEY
+accessories:
+ db:
+ image: postgres
+ host: 5.78.128.205
+ port: "127.0.0.1:5432:5432"
+ env:
+ clear:
+ - POSTGRES_DB=ubixar
+ - POSTGRES_USER=ubixar
+ - DB_HOST: 127.0.0.1
+ - DB_PORT: 5432
57
+ secret:
58
+ - POSTGRES_PASSWORD:PASSWORD
59
+ directories:
60
+ - /opt/docker/ubixar.com/postgres:/var/lib/postgresql/data
0 commit comments