hirsk bu gisti düzenledi . Düzenlemeye git
1 file changed, 22 insertions
gistfile1.txt(dosya oluşturuldu)
@@ -0,0 +1,22 @@ | |||
1 | + | services: | |
2 | + | postgres: | |
3 | + | image: docker.io/postgres:17 | |
4 | + | container_name: PasswordPusher-DB | |
5 | + | volumes: | |
6 | + | - /volume1/docker/pwpush/db:/var/lib/postgresql/data | |
7 | + | environment: | |
8 | + | POSTGRES_USER: passwordpusher_user | |
9 | + | POSTGRES_PASSWORD: passwordpusher_passwd | |
10 | + | POSTGRES_DB: passwordpusher_db | |
11 | + | ||
12 | + | passwordpusher: | |
13 | + | image: docker.io/pglombardo/pwpush:latest | |
14 | + | container_name: PasswordPusher | |
15 | + | environment: | |
16 | + | DATABASE_URL: postgres://passwordpusher_user:passwordpusher_passwd@postgres:5432/passwordpusher_db | |
17 | + | ports: | |
18 | + | - 5100:5100 | |
19 | + | depends_on: | |
20 | + | - postgres | |
21 | + | links: | |
22 | + | - postgres:postgres |
Daha yeni
Daha eski