diff --git a/docker-compose.yml b/docker-compose.yml index e9645dc..572e352 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,9 +2,14 @@ services: ddjj: image: jirho/ddjj:v0.1 - #volumes: - # - /etc/localtime:/etc/localtime/:ro - # - /etc/timezone:/etc/timezone/:ro + volumes: + - "./app/:/var/www/ddjj/app:rw" + - "./config/:/var/www/liceddjjncias/config:rw" + - "./database/:/var/www/ddjj/database:rw" + - "./public/:/var/www/ddjj/public:rw" + - "./resources/:/var/www/ddjj/resources:rw" + - "./routes/:/var/www/ddjj/routes:rw" + - "./tests/:/var/www/ddjj/tests:rw" depends_on: - pgsql ports: @@ -24,7 +29,4 @@ services: POSTGRES_PASSWORD: fcytadmin01 POSTGRES_DB: ddjj PGDATA: /var/lib/postgresql/data/pgdata - #volumes: - # - /etc/localtime:/etc/localtime:ro - # - /etc/timezone:/etc/timezone:ro restart: always