main
Last change
on this file was
840a9c5,
checked in by David Fuertes <dfuertes@…>, 4 years ago
|
Añadida funcionalidad AJAX de chequeo status de los equipos en reserva en frontend.
|
-
Property mode set to
100644
|
File size:
2.1 KB
|
Line | |
---|
1 | version: '3' |
---|
2 | |
---|
3 | #App services |
---|
4 | services: |
---|
5 | |
---|
6 | #App server |
---|
7 | web2py-uwsgi: |
---|
8 | image: web2py-uwsgi |
---|
9 | container_name: web2py-uwsgi |
---|
10 | restart: unless-stopped |
---|
11 | build: |
---|
12 | context: . |
---|
13 | dockerfile: ./Dockerfile.uwsgi-python |
---|
14 | depends_on: |
---|
15 | - db |
---|
16 | |
---|
17 | volumes: |
---|
18 | - w2p-dir:/var/www/web2py/ |
---|
19 | |
---|
20 | tty: true |
---|
21 | |
---|
22 | networks: |
---|
23 | - private-network |
---|
24 | |
---|
25 | #Cron |
---|
26 | cron-web2py: |
---|
27 | image: cron-web2py |
---|
28 | container_name: cron-web2py |
---|
29 | restart: unless-stopped |
---|
30 | build: |
---|
31 | context: . |
---|
32 | dockerfile: ./Dockerfile.cron-web2py |
---|
33 | depends_on: |
---|
34 | - web2py-uwsgi |
---|
35 | volumes: |
---|
36 | - w2p-dir:/var/www/web2py/ |
---|
37 | tty: true |
---|
38 | |
---|
39 | networks: |
---|
40 | - private-network |
---|
41 | |
---|
42 | |
---|
43 | #Nginx Service |
---|
44 | webserver: |
---|
45 | image: nginx |
---|
46 | container_name: webserver |
---|
47 | restart: unless-stopped |
---|
48 | tty: true |
---|
49 | ports: |
---|
50 | - 80:80 |
---|
51 | - 443:443 |
---|
52 | - 8020:8020 |
---|
53 | |
---|
54 | volumes: |
---|
55 | - ./nginx/conf.d/web2py:/etc/nginx/conf.d/nginx.conf |
---|
56 | - ./nginx/ssl/:/etc/nginx/ssl/ |
---|
57 | - ./web2py-rlabs:/var/www/web2py |
---|
58 | |
---|
59 | depends_on: |
---|
60 | - web2py-uwsgi |
---|
61 | |
---|
62 | networks: |
---|
63 | - private-network |
---|
64 | |
---|
65 | #Apache Tomcat Service |
---|
66 | java-server: |
---|
67 | image: tomcat:8 |
---|
68 | container_name: tomcat |
---|
69 | restart: unless-stopped |
---|
70 | tty: true |
---|
71 | volumes: |
---|
72 | - ./servlet/websocket.war:/usr/local/tomcat/webapps/websocket.war |
---|
73 | |
---|
74 | networks: |
---|
75 | - private-network |
---|
76 | |
---|
77 | #Guacamole service |
---|
78 | guacamole-server: |
---|
79 | image: guacamole/guacd |
---|
80 | container_name: guacd |
---|
81 | restart: unless-stopped |
---|
82 | tty: true |
---|
83 | |
---|
84 | networks: |
---|
85 | - private-network |
---|
86 | |
---|
87 | |
---|
88 | #Postgres Service |
---|
89 | db: |
---|
90 | image: postgres:10 |
---|
91 | container_name: postgres |
---|
92 | restart: unless-stopped |
---|
93 | tty: true |
---|
94 | |
---|
95 | volumes: |
---|
96 | - postgres-data:/var/lib/postgresql/data |
---|
97 | - ./postgres/openrlabs.sql:/tmp/openrlabs.sql |
---|
98 | - ./postgres/10-create-db-openrlabs.sh:/docker-entrypoint-initdb.d/10-create-db-openrlabs.sh |
---|
99 | |
---|
100 | environment: |
---|
101 | - POSTGRES_DB=openrlabs |
---|
102 | - POSTGRES_USER=openrlabs |
---|
103 | - POSTGRES_PASSWORD=openrlabs |
---|
104 | |
---|
105 | command: postgres -c datestyle='iso, dmy' |
---|
106 | |
---|
107 | networks: |
---|
108 | - private-network |
---|
109 | |
---|
110 | #Docker Networks |
---|
111 | networks: |
---|
112 | private-network: |
---|
113 | driver: bridge |
---|
114 | |
---|
115 | #Volumes |
---|
116 | volumes: |
---|
117 | w2p-dir: |
---|
118 | postgres-data: |
---|
119 | driver: local |
---|
120 | |
---|
121 | |
---|
122 | |
---|
Note: See
TracBrowser
for help on using the repository browser.