Browse Source

Add user upload diredtory for 5.9

michel 5 years ago
parent
commit
b2c29748f6
5 changed files with 5 additions and 2 deletions
  1. 2 1
      .dockerignore
  2. 2 0
      .gitignore
  3. 1 0
      docker-compose.yaml
  4. 0 1
      docker/adminassos/Dockerfile
  5. 0 0
      useruploaddata/.gitkeep

+ 2 - 1
.dockerignore

@@ -6,4 +6,5 @@ apps/*
 !apps/opentalent-platform/migration
 !apps/env
 .vagrant
-Vagrantfile
+Vagrantfile
+useruploaddata/*

+ 2 - 0
.gitignore

@@ -7,8 +7,10 @@
 !/apps/.gitkeep
 /.vagrant
 /.ssh/*
+/useruploaddata/*
 /.env
 !/.ssh/.gitkeep
+!/useruploaddata/.gitkeep
 !/.ssh/id_rsa_exploitation
 /docker/.idea
 /docker/nginx/certs/*

+ 1 - 0
docker-compose.yaml

@@ -161,6 +161,7 @@ services:
     restart: always
     volumes:
       - ./apps/opentalent:/var/source/opentalent:cached
+      - ./useruploaddata:/var/www/opentalent/fileadmin/user_upload:cached
       - ./apps/vendor:/var/source/vendor:delegated
       - ./apps/opentalent-config:/var/source/config:cached
     environment:

+ 0 - 1
docker/adminassos/Dockerfile

@@ -56,7 +56,6 @@ RUN ln -s /var/source/opentalent/opentalent; \
     mkdir -p fileadmin; \
     cd fileadmin; \
     ln -s /var/source/opentalent/templates; \
-    mkdir -p user_upload; \
     cd /var/www/opentalent; \
     chown www-data:www-data -R opentalent; \
     mkdir -p /var/log/opentalent; \

+ 0 - 0
useruploaddata/.gitkeep