-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
32 lines (32 loc) · 1013 Bytes
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
version: '2'
services:
db:
image: mysql:5.7
cap_add:
- SYS_NICE
ports:
- "3306:3306"
volumes:
- ./db/db_data:/var/lib/mysql
#- ./db/MeteoCalDB.sql:/docker-entrypoint-initdb.d/MeteoCalDB.sql
environment:
- MYSQL_USER=docker
- MYSQL_PASSWORD=docker
- MYSQL_DATABASE=meteocal
- MYSQL_ROOT_PASSWORD=docker
command: ['mysqld', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci']
ws:
image: payara/server-full
ports:
- "4848:4848"
- "8080:8080"
- "8181:8181"
volumes:
- ./ws/apps:/opt/payara/deployments
- ./ws/lib:/opt/payara/appserver/glassfish/domains/production/lib/ext
- ./ws/lib:/opt/payara/appserver/glassfish/domains/domain1/lib/ext
- ./ws/webapp:/opt/payara/appserver/glassfish/domains/production/var/webapp
- ./ws/webapp:/opt/payara/appserver/glassfish/domains/domain1/var/webapp
- ./ws/scripts:/opt/payara/scripts/init.d
links:
- db