diff options
author | startxfr <clarue@startx.fr> | 2015-11-30 03:25:20 +0100 |
---|---|---|
committer | startxfr <clarue@startx.fr> | 2015-11-30 03:25:20 +0100 |
commit | ff24be233ac7b10221142675b205b347b5588fd7 (patch) | |
tree | 3cef32fbae043936558b528f9e421109ef547614 /Services/postgres/docker-compose.yml | |
parent | d3189d55206417557b03fde732693aaffca54cf8 (diff) | |
download | phpmyadmin-ff24be233ac7b10221142675b205b347b5588fd7.tar.gz phpmyadmin-ff24be233ac7b10221142675b205b347b5588fd7.tar.bz2 phpmyadmin-ff24be233ac7b10221142675b205b347b5588fd7.tar.xz phpmyadmin-ff24be233ac7b10221142675b205b347b5588fd7.zip |
reshape of postgresql
Diffstat (limited to 'Services/postgres/docker-compose.yml')
-rw-r--r-- | Services/postgres/docker-compose.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Services/postgres/docker-compose.yml b/Services/postgres/docker-compose.yml new file mode 100644 index 0000000..c4daa03 --- /dev/null +++ b/Services/postgres/docker-compose.yml @@ -0,0 +1,19 @@ +server: + build: ./ +# image: sx-postgresql + container_name: "sx-postgresql" + mem_limit: 1g + memswap_limit: 1g + cpu_shares: 8 + restart: "on-failure:2" + environment: + CONTAINER_TYPE: "service" + CONTAINER_SERVICE: "postgresql" + CONTAINER_INSTANCE: "sx-postgresql" + POSTGRESQL_ROOT_PASSWORD: "secretdemerde" + POSTGRESQL_USER: "user-test" + POSTGRESQL_PASSWORD: "pwd-test" + POSTGRESQL_DATABASE: "db_test" + volumes: + - "/tmp/container/logs/postgresql:/data/logs/postgresql" + - "/tmp/container/postgresql:/data/postgresql"
\ No newline at end of file |