Sign inSign up

nboost/symfony

By nboost

Updated over 4 years ago

Docker Symfony container

Image
0

142

nboost/symfony repository overview

Ready made symfony container with apis

Need a posgres container

use with http://localhost/api

docker-compose.yaml :

---
version: "3.9"
services:
  pg_comptoirs:
    image: nboost/postgres:comptoirs
#    volumes:
#      - db_data:/var/lib/mysql
    networks:
      - smf_comptoirs
    restart: always
    environment:
      POSTGRES_PASSWORD: password
    
  smf_comptoirs:
    depends_on:
      - pg_comptoirs
    image: nboost/symfony:comptoirs
#    volumes:
#      - wordpress_data:/var/www/html
    ports:
      - "80:8000"
    networks:
      - smf_comptoirs
    restart: always
    environment:
      DB_URL: postgresql://postgres:password@pg_comptoirs:5432/comptoirs
#volumes:
#  db_data: {}
#  wordpress_data: {}

networks:
  smf_comptoirs:


Tag summary

Content type

Image

Digest

Size

169.1 MB

Last updated

over 4 years ago

docker pull nboost/symfony:comptoirs