docker-compose.yml 365 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
version: "3"

services:
  web:
    hostname: web
    restart: always
    build:
      context: .
      dockerfile: dockerfile_web
    ports:
    - "8080:80"

  database:
    hostname: database
    restart: always
    build:
      context: .
      dockerfile: dockerfile_database
    volumes:
    - "labonneformation:/var/lib/database"

volumes:
  labonneformation: