Skip to content
Extraits de code Groupes Projets
Valider 46b91c0d rédigé par Azargeth's avatar Azargeth
Parcourir les fichiers

Merge branch 'main' of github.com:KeshAzar/nosql-memo

parents 25435224 ab3be978
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
version: '3.8' version: '3.8'
services: services:
nginx: nginx:
image: nginx:stable-alpine image: nginx:stable-alpine
container_name: nginx container_name: nginx
...@@ -17,4 +16,32 @@ services: ...@@ -17,4 +16,32 @@ services:
image: php:7.4-fpm-alpine image: php:7.4-fpm-alpine
container_name: php container_name: php
volumes: volumes:
- "./www:/script:ro" - "./www:/script"
\ No newline at end of file
postgresql:
image: postgres:latest
restart: unless-stopped
container_name: postgresql
environment:
HOSTNAME: postgres
POSTGRES_USER: user
POSTGRES_PASSWORD: password
ports:
- published: 5432
target: 5432
volumes:
- postgres_data:/var/lib/postgresdata/data:rw
redis:
image: redis:latest
restart: unless-stopped
container_name: redis
ports:
- published: 6379
target: 6379
volumes:
- redis_data:/var/lib/redisdata/data:rw
volumes:
postgres_data:
redis_data:
\ No newline at end of file
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter